package ch.fhnw.qualiscan.core;

import ch.fhnw.qualiscan.Config;
import ch.fhnw.qualiscan.core.db.HibernateSession;

/**
 * Abstract class for all models. All models need to inherit from this class.
 * @author Kevin Mettenberger
 *
 */
public abstract class Model {
	
	public HibernateSession hibernateSession;
	public Config config;
	
	/**
	 * creates a hibernate session (static) and saves it in the global variable session.
	 */
	public Model() {
		hibernateSession = new HibernateSession();
		config = new Config();
	}
	

}
